package com.wm.blog_admin.event;

import com.wm.blog_admin.domain.WebScoketMsg;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

/**
 * @author wm_yu
 * @date 2020-4-29 11:17
 */
@Data
public class MessageEvent extends ApplicationEvent {

  private WebScoketMsg webScoketMsg;

    public MessageEvent(Object source, WebScoketMsg webScoketMsg) {
        super(source);
        this.webScoketMsg = webScoketMsg;
    }
}
